//
//  TouXiangCell.m
//  FangYunERP
//
//  Created by MichaelLi on 2017/12/11.
//  Copyright © 2017年 YuHuaMac. All rights reserved.
//

#import "TouXiangCell.h"
@interface TouXiangCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end
@implementation TouXiangCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.nameLabel.text = @"头像";
    self.nameLabel.font = [UIFont systemFontOfSize:16];
   
    
}
-(instancetype)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super initWithCoder:aDecoder]) {
        
//        self.touxiangModel.icon = img;
//        //XLog(@"img:%@",img);
    }
    return self;
}
- (void)setHeadImg:(NSString *)headImg
{
    _headImg = headImg;
    [self.icon sd_setImageWithURL:[NSURL URLWithString:headImg] placeholderImage:[UIImage imageNamed:@"headImg"]];
}
@end
